xen/arm: move the tlb_flush in create_p2m_entries to the end of the function
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 29 Apr 2013 17:04:26 +0000 (18:04 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 30 Apr 2013 10:31:33 +0000 (11:31 +0100)
commit11d8866da50a75ef5089faebdfa37164bdcb7545
treed1cc01bfe1d4846b45123d9477dc0074588cd1cf
parentb4aae03ce525e8e2364814d0fed8f982aefc4958
xen/arm: move the tlb_flush in create_p2m_entries to the end of the function

Move the flush after the pagetable entry has actually been written to
avoid races with other vcpus refreshing the same entriy.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/p2m.c